package com.anyou.mall.goo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import com.anyou.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.anyou.common.core.domain.BaseEntity;

/**
 * 积分抽奖中奖记录对象 jf_draw_record
 *
 * @author clx
 * @date 2023-10-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "积分抽奖中奖记录")
@TableName(value = "jf_draw_record")
public class JfDrawRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Long drawRecordId;

    /** 抽奖设置ID */
    @ApiModelProperty("抽奖设置ID")
    @Excel(name = "抽奖设置ID")
    private Long jfDrawId;

    /** 用户ID */
    @ApiModelProperty("用户ID")
    @Excel(name = "用户ID")
    private Long userId;

    /** 中奖水票数量 */
    @ApiModelProperty("中奖水票数量")
    @Excel(name = "中奖水票数量")
    private Long drawNum;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private Long delFlag;

    /** 创建时间从*/
    @ApiModelProperty("创建时间从,格式:2020-12-23 23:23:23,用于查询条件")
    @TableField(exist = false)
    private String createTimeFrom;

    /** 创建时间至*/
    @ApiModelProperty("创建时间至,格式:2020-12-23 23:23:23,用于查询条件")
    @TableField(exist = false)
    private String createTimeTo;

    @ApiModelProperty("用户手机号,用于查询条件")
    @TableField(exist = false)
    private String phoneNumber;



}
